from nicegui import ui
from ex4nicegui.reactive import rxui
from ex4nicegui import  to_ref,ref_computed,effect

content1 = to_ref('')
content2 = to_ref('')

result = ref_computed(lambda: content1.value+content2.value)

input1 = rxui.input("aaaaaaaa",value=content1)
input2 = ui.input("bbbbbbbbbb",value=content1)

label = rxui.label(result)
ui.run()